import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'ordernodeal'
})
export class OrdernodealPipe implements PipeTransform {

  transform(value: any, args?: any): any {
    let str=value+"";	
    args=args.replace(/-/g,'');
    let reg=new RegExp(args,"g"); 
    return str.replace(reg, '');
  }

}
